<%@ page language="java"  pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<div class="p_d_head"></div>
<div class="p_d_content">
	<form>
		<div class="com_purview">
			<h3>
				信息管理
			</h3>
			<table class="p_table" cellpadding="0" cellspacing="0" width="165"
				id="p_message">
				<thead>
					<tr>
						<th width="60">
							<span>发布</span><span>查看</span>
						</th>
						<th width="105"></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td width="60" class="tc">
							<input
								<s:if test="role.chargeRes.indexOf('1') != -1">checked="checked" value="1"</s:if>
								type="checkbox" id="gzxx_fb" class="release cb" />
							<input
								<s:if test="role.accessRes.indexOf('1') != -1">checked="checked"</s:if>
								<s:if test="role.chargeRes.indexOf('1') != -1">disabled="disabled"</s:if>
								type="checkbox" id="gzxx_ck" class=" check cb" />
						</td>
						<td width="105">
							<span class=" p_info">高招信息</span>
						</td>
					</tr>
					<tr>
						<td width="60" class="tc">
							<input
								<s:if test="role.chargeRes.indexOf('2') != -1">checked="checked" value="1"</s:if>
								type="checkbox" id="zzxx_fb" class="release cb" />
							<input
								<s:if test="role.accessRes.indexOf('2') != -1">checked="checked"</s:if>
								<s:if test="role.chargeRes.indexOf('2') != -1">disabled="disabled"</s:if>
								type="checkbox" id="zzxx_ck" class=" check cb" />
						</td>
						<td width="105">
							<span class=" p_info">中招信息</span>
						</td>
					</tr>
					<tr>
						<td width="60" class="tc">
							<input
								<s:if test="role.chargeRes.indexOf('3') != -1">checked="checked" value="1"</s:if>
								type="checkbox" id="czzs_fb" class="release cb" />
							<input
								<s:if test="role.accessRes.indexOf('3') != -1">checked="checked"</s:if>
								<s:if test="role.chargeRes.indexOf('3') != -1">disabled="disabled"</s:if>
								type="checkbox" id="czzs_ck" class=" check cb" />
						</td>
						<td width="105">
							<span class=" p_info">初中招生</span>
						</td>
					</tr>
					<tr>
						<td width="60" class="tc">
							<input
								<s:if test="role.chargeRes.indexOf('6') != -1">checked="checked" value="1"</s:if>
								type="checkbox" id="xyks_fb" class="release cb" />
							<input
								<s:if test="role.accessRes.indexOf('6') != -1">checked="checked"</s:if>
								<s:if test="role.chargeRes.indexOf('6') != -1">disabled="disabled"</s:if>
								type="checkbox" id="xyks_ck" class=" check cb" />
						</td>
						<td width="105">
							<span class=" p_info">学业考试</span>
						</td>
					</tr>
					<tr>
						<td width="60" class="tc">
							<input
								<s:if test="role.chargeRes.indexOf('7') != -1">checked="checked" value="1"</s:if>
								type="checkbox" id="zxxj_fb" class="release cb" />
							<input
								<s:if test="role.accessRes.indexOf('7') != -1">checked="checked"</s:if>
								<s:if test="role.chargeRes.indexOf('7') != -1">disabled="disabled"</s:if>
								type="checkbox" id="zxxj_ck" class=" check cb" />
						</td>
						<td width="105">
							<span class=" p_info">中学学籍</span>
						</td>
					</tr>
					<tr>
						<td width="60" class="tc">
							<input
								<s:if test="role.chargeRes.indexOf('8') != -1">checked="checked" value="1"</s:if>
								type="checkbox" id="xxxj_fb" class="release cb" />
							<input
								<s:if test="role.accessRes.indexOf('8') != -1">checked="checked"</s:if>
								<s:if test="role.chargeRes.indexOf('8') != -1">disabled="disabled"</s:if>
								type="checkbox" id="xxxj_ck" class=" check cb" />
						</td>
						<td width="105">
							<span class=" p_info">小学学籍</span>
						</td>
					</tr>
					<tr>
						<td width="60" class="tc">
							<input
								<s:if test="role.chargeRes.indexOf('9') != -1">checked="checked" value="1"</s:if>
								type="checkbox" id="jxxx_fb" class="release cb" />
							<input
								<s:if test="role.accessRes.indexOf('9') != -1">checked="checked"</s:if>
								<s:if test="role.chargeRes.indexOf('9') != -1">disabled="disabled"</s:if>
								type="checkbox" id="jxxx_ck" class=" check cb" />
						</td>
						<td width="105">
							<span class=" p_info">教学信息</span>
						</td>
					</tr>
					<!--
                    <tr>
                    	<td width="60" class="tc"><input type="checkbox" id="rcgl_fb" class="release cb" /><input type="checkbox" id="rcgl_ck" class=" check cb" /></td>
                        <td width="105"><span class=" p_info">日程管理</span></td>
                    </tr>
                    -->
					<tr>
						<td width="60" class="tc">
							<input type="checkbox" class="cb" id="release_all" />
							<input type="checkbox" class="cb" id="check_all" />
						</td>
						<td width="105">
							<span class=" p_info">全部</span>
						</td>
					</tr>

				</tbody>
			</table>
		</div>

		<div class="com_purview">
			<h3>
				功能管理
			</h3>
			<table class="p_table" cellpadding="0" cellspacing="0" width="165"
				id="p_message">
				<tr>

					<td width="15" class="tc">
						<input id="mang_user" type="checkbox"
							<s:if test="role.userMang">checked="checked"</s:if> />
					</td>
					<td width="150">
						<span class=" p_info">管理通讯录</span>
					</td>
				</tr>
				<tr>

					<td width="15" class="tc">
						<input id="schedule_mang" type="checkbox"
							<s:if test="role.scheduleMang">checked="checked"</s:if> />
					</td>
					<td width="150">
						<span class=" p_info">日程管理</span>
					</td>
				</tr>
				<tr>
					<td width="15" class="tc">
						<input id="can_login" type="checkbox"
							<s:if test="role.login">checked="checked"</s:if> />
					</td>
					<td width="150">
						<span class=" p_info">登录网站</span>
					</td>
				</tr>
				<tr>
					<td width="15" class="tc">
						<input id="send_msg" type="checkbox"
							<s:if test="role.msgsend">checked="checked"</s:if> />
					</td>
					<td width="150">
						<span class=" p_info">发送短信</span>
					</td>
				</tr>
			</table>
		</div>

		<div class="com_purview">
			<h3>
				访问通讯录
			</h3>
			<table class="p_table" cellpadding="0" cellspacing="0" width="165"
				id="p_message">
				<tr>
                    <td width="15" class="tc"><input <s:if test="role.visituser==1">checked="checked"</s:if> type="radio" value="1" class="sort1"  name="c_group"/></td>
                    <td width="150"><span class=" p_info">所有通讯录</span></td>
                </tr>
                <tr>
                    <td width="15" class="tc"><input <s:if test="role.visituser==2 || role.visituser==3">checked="checked"</s:if> type="radio" value="2" class="sort2"  name="c_group"/></td>
                    <td width="150"><span class=" p_info">招办通讯录</span></td>
                </tr>
				<!--<tr>
					<td colspan="2">
						<table cellpadding="0" cellspacing="0" class="ml20">
							<tr>
								<td>
									<input type="radio" class="sort2 group_sort"
										<s:if test="role.visituser==2">checked="checked"</s:if>
										name="c_group" value="2" />
								</td>
								<td>
									<span class=" p_info">所有组</span>
								</td>
							</tr>
							<tr>
								<td>
									<input type="radio" class="sort2 group_sort"
										<s:if test="role.visituser==3">checked="checked"</s:if>
										name="c_group" value="3" />
								</td>
								<td>
									<span class=" p_info">相同组</span>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			--></table>
		</div>
		<div class="clear"></div>
		<input type="button" value="保存" class="def_btn_s1 ml20 mt40"
			onclick="saveRole();" />
	</form>
</div>
<div class="p_d_foot"></div>
<script type="text/javascript">
	$(function(){
			$.defUnit.purviewFunc();
		});
</script>